From: Lionel Landwerlin Date: Thu, 11 Jul 2013 12:28:06 +0000 (+0100) Subject: st-theme-node: invalidate cached size when initializing paint state X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3950 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fde01f0b71e595ac10290d6ad1cc341bba6917fc;p=gnome-shell.git st-theme-node: invalidate cached size when initializing paint state https://bugzilla.gnome.org/show_bug.cgi?id=703997 --- diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c index 9e052a59c..74751dc1d 100644 --- a/src/st/st-theme-node-drawing.c +++ b/src/st/st-theme-node-drawing.c @@ -2578,6 +2578,8 @@ st_theme_node_paint_state_init (StThemeNodePaintState *state) { int corner_id; + state->alloc_width = 0; + state->alloc_height = 0; state->node = NULL; state->box_shadow_material = COGL_INVALID_HANDLE; state->prerendered_texture = COGL_INVALID_HANDLE;